package uns.fit.gis.mapobj;

public class Rectangle {
	private int minX;
	private int maxY;
	private int maxX;
	private int minY;
	
	public Rectangle()
	{
		minX = Integer.MAX_VALUE;
		maxY = Integer.MIN_VALUE;
		maxX= Integer.MIN_VALUE;
		minY = Integer.MAX_VALUE;
	}

	public Rectangle(int minX, int maxX, int minY, int maxY) {
		this.minX = minX;
		this.minY = minY;
		this.maxX = maxX;
		this.maxY = maxY;
	}
	
	public int getMinX() {
		return minX;
	}

	public void setMinX(int minX) {
		this.minX = minX;
	}

	public int getMaxY() {
		return maxY;
	}

	public void setMaxY(int maxY) {
		this.maxY = maxY;
	}

	public int getMaxX() {
		return maxX;
	}

	public void setMaxX(int maxX) {
		this.maxX = maxX;
	}

	public int getMinY() {
		return minY;
	}

	public void setMinY(int minY) {
		this.minY = minY;
	}

	
}
